using System;
using Xtensive.Orm;

namespace SalesPoint.Services
{
  public class InitializationCompletedEventArgs : EventArgs
  {
    public InitializationCompletedEventArgs(Domain domain)
    {
      Domain = domain;
    }

    public InitializationCompletedEventArgs(Exception exception)
    {
      Exception = exception;
    }

    public Domain Domain { get; private set; }

    public Exception Exception { get; private set; }
  }
}